Integrand size = 45, antiderivative size = 284 \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\frac {2 a^2 (84 A+110 B+99 C) \sin (c+d x)}{693 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (336 A+374 B+429 C) \sin (c+d x)}{1155 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {8 a^2 (336 A+374 B+429 C) \sin (c+d x)}{3465 d \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {16 a^2 (336 A+374 B+429 C) \sqrt {\sec (c+d x)} \sin (c+d x)}{3465 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a (3 A+11 B) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{99 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {2 A (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{11 d \sec ^{\frac {9}{2}}(c+d x)} \]
[Out]
Time = 0.89 (sec) , antiderivative size = 284, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {4171, 4102, 4100, 3890, 3889} \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\frac {2 a^2 (336 A+374 B+429 C) \sin (c+d x)}{1155 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}+\frac {2 a^2 (84 A+110 B+99 C) \sin (c+d x)}{693 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}+\frac {16 a^2 (336 A+374 B+429 C) \sin (c+d x) \sqrt {\sec (c+d x)}}{3465 d \sqrt {a \sec (c+d x)+a}}+\frac {8 a^2 (336 A+374 B+429 C) \sin (c+d x)}{3465 d \sqrt {\sec (c+d x)} \sqrt {a \sec (c+d x)+a}}+\frac {2 a (3 A+11 B) \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{99 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)} \]
[In]
[Out]
Rule 3889
Rule 3890
Rule 4100
Rule 4102
Rule 4171
Rubi steps \begin{align*} \text {integral}& = \frac {2 A (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{11 d \sec ^{\frac {9}{2}}(c+d x)}+\frac {2 \int \frac {(a+a \sec (c+d x))^{3/2} \left (\frac {1}{2} a (3 A+11 B)+\frac {1}{2} a (6 A+11 C) \sec (c+d x)\right )}{\sec ^{\frac {9}{2}}(c+d x)} \, dx}{11 a} \\ & = \frac {2 a (3 A+11 B) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{99 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {2 A (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{11 d \sec ^{\frac {9}{2}}(c+d x)}+\frac {4 \int \frac {\sqrt {a+a \sec (c+d x)} \left (\frac {1}{4} a^2 (84 A+110 B+99 C)+\frac {3}{4} a^2 (24 A+22 B+33 C) \sec (c+d x)\right )}{\sec ^{\frac {7}{2}}(c+d x)} \, dx}{99 a} \\ & = \frac {2 a^2 (84 A+110 B+99 C) \sin (c+d x)}{693 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a (3 A+11 B) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{99 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {2 A (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{11 d \sec ^{\frac {9}{2}}(c+d x)}+\frac {1}{231} (a (336 A+374 B+429 C)) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sec ^{\frac {5}{2}}(c+d x)} \, dx \\ & = \frac {2 a^2 (84 A+110 B+99 C) \sin (c+d x)}{693 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (336 A+374 B+429 C) \sin (c+d x)}{1155 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a (3 A+11 B) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{99 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {2 A (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{11 d \sec ^{\frac {9}{2}}(c+d x)}+\frac {(4 a (336 A+374 B+429 C)) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sec ^{\frac {3}{2}}(c+d x)} \, dx}{1155} \\ & = \frac {2 a^2 (84 A+110 B+99 C) \sin (c+d x)}{693 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (336 A+374 B+429 C) \sin (c+d x)}{1155 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {8 a^2 (336 A+374 B+429 C) \sin (c+d x)}{3465 d \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {2 a (3 A+11 B) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{99 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {2 A (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{11 d \sec ^{\frac {9}{2}}(c+d x)}+\frac {(8 a (336 A+374 B+429 C)) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sqrt {\sec (c+d x)}} \, dx}{3465} \\ & = \frac {2 a^2 (84 A+110 B+99 C) \sin (c+d x)}{693 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (336 A+374 B+429 C) \sin (c+d x)}{1155 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {8 a^2 (336 A+374 B+429 C) \sin (c+d x)}{3465 d \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {16 a^2 (336 A+374 B+429 C) \sqrt {\sec (c+d x)} \sin (c+d x)}{3465 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a (3 A+11 B) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{99 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {2 A (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{11 d \sec ^{\frac {9}{2}}(c+d x)} \\ \end{align*}
Time = 9.76 (sec) , antiderivative size = 139, normalized size of antiderivative = 0.49 \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\frac {2 a^2 \left (315 A+35 (21 A+11 B) \sec (c+d x)+5 (168 A+187 B+99 C) \sec ^2(c+d x)+3 (336 A+374 B+429 C) \sec ^3(c+d x)+4 (336 A+374 B+429 C) \sec ^4(c+d x)+8 (336 A+374 B+429 C) \sec ^5(c+d x)\right ) \sin (c+d x)}{3465 d \sec ^{\frac {9}{2}}(c+d x) \sqrt {a (1+\sec (c+d x))}} \]
[In]
[Out]
Time = 1.59 (sec) , antiderivative size = 179, normalized size of antiderivative = 0.63
method | result | size |
default | \(\frac {2 a \left (315 A \cos \left (d x +c \right )^{5}+735 A \cos \left (d x +c \right )^{4}+385 B \cos \left (d x +c \right )^{4}+840 A \cos \left (d x +c \right )^{3}+935 B \cos \left (d x +c \right )^{3}+495 C \cos \left (d x +c \right )^{3}+1008 A \cos \left (d x +c \right )^{2}+1122 B \cos \left (d x +c \right )^{2}+1287 C \cos \left (d x +c \right )^{2}+1344 A \cos \left (d x +c \right )+1496 B \cos \left (d x +c \right )+1716 C \cos \left (d x +c \right )+2688 A +2992 B +3432 C \right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{3465 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}\) | \(179\) |
parts | \(\frac {2 A a \left (15 \cos \left (d x +c \right )^{5}+35 \cos \left (d x +c \right )^{4}+40 \cos \left (d x +c \right )^{3}+48 \cos \left (d x +c \right )^{2}+64 \cos \left (d x +c \right )+128\right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{165 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}+\frac {2 B a \left (35 \cos \left (d x +c \right )^{4}+85 \cos \left (d x +c \right )^{3}+102 \cos \left (d x +c \right )^{2}+136 \cos \left (d x +c \right )+272\right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{315 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}+\frac {2 C a \left (15 \cos \left (d x +c \right )^{3}+39 \cos \left (d x +c \right )^{2}+52 \cos \left (d x +c \right )+104\right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{105 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}\) | \(251\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 162, normalized size of antiderivative = 0.57 \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\frac {2 \, {\left (315 \, A a \cos \left (d x + c\right )^{6} + 35 \, {\left (21 \, A + 11 \, B\right )} a \cos \left (d x + c\right )^{5} + 5 \, {\left (168 \, A + 187 \, B + 99 \, C\right )} a \cos \left (d x + c\right )^{4} + 3 \, {\left (336 \, A + 374 \, B + 429 \, C\right )} a \cos \left (d x + c\right )^{3} + 4 \, {\left (336 \, A + 374 \, B + 429 \, C\right )} a \cos \left (d x + c\right )^{2} + 8 \, {\left (336 \, A + 374 \, B + 429 \, C\right )} a \cos \left (d x + c\right )\right )} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{3465 \, {\left (d \cos \left (d x + c\right ) + d\right )} \sqrt {\cos \left (d x + c\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 1188 vs. \(2 (248) = 496\).
Time = 0.55 (sec) , antiderivative size = 1188, normalized size of antiderivative = 4.18 \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\int { \frac {{\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} {\left (a \sec \left (d x + c\right ) + a\right )}^{\frac {3}{2}}}{\sec \left (d x + c\right )^{\frac {11}{2}}} \,d x } \]
[In]
[Out]
Time = 23.75 (sec) , antiderivative size = 392, normalized size of antiderivative = 1.38 \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\frac {\sqrt {a-\frac {a}{2\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2-1}}\,\left (2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}-1\right )\,\left (\frac {a\,\sin \left (\frac {9\,c}{2}+\frac {9\,d\,x}{2}\right )\,\left (3\,A+2\,B\right )\,\left (-2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}+1\right )}{72\,d}+\frac {A\,a\,\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,\left (-2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}+1\right )}{88\,d}+\frac {a\,\sin \left (\frac {7\,c}{2}+\frac {7\,d\,x}{2}\right )\,\left (-2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}+1\right )\,\left (7\,A+6\,B+4\,C\right )}{56\,d}+\frac {a\,\sin \left (\frac {3\,c}{2}+\frac {3\,d\,x}{2}\right )\,\left (-2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}+1\right )\,\left (9\,A+10\,B+10\,C\right )}{12\,d}+\frac {a\,\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )\,\left (-2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}+1\right )\,\left (11\,A+12\,B+14\,C\right )}{4\,d}+\frac {a\,\sin \left (\frac {5\,c}{2}+\frac {5\,d\,x}{2}\right )\,\left (-2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}+1\right )\,\left (13\,A+12\,B+12\,C\right )}{40\,d}\right )}{2\,\sqrt {-\frac {1}{2\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2-1}}\,\left (2\,{\sin \left (\frac {c}{4}+\frac {d\,x}{4}\right )}^2-1\right )} \]
[In]
[Out]